package sk.tuke.constraintbuilder.builder.resourcemodel;

public class ConstructorElement extends MethodElement {

	public ConstructorElement(String name) {
		super(name, "none");
	}
	
    @Override
    public String generateXML() {
        return
        "<constructor" + addXMLAttr("name", getName()) +">"
                  + generateXMLSubElements()
                  + ((getParams() != null) ? getParams().generateXML() : "") +
        "</constructor>";
    }

}
